QT       += core gui sql
CONFIG	 += debug warn_on
greaterThan(QT_MAJOR_VERSION, 4): QT += widgets

TARGET = xlstodb
TEMPLATE = app


SOURCES += main.cpp\
        src/mainwindow.cpp\
		src/import.cpp\
		src/query.cpp\
		src/dbconfig.cpp\
		src/base.cpp

HEADERS  += inc/mainwindow.h\
			inc/import.h\
			inc/query.h\
			inc/dbconfig.h\
			inc/base.h\
			inc/AT_RF_READER.h

FORMS    += ui/mainwindow.ui\
			ui/import.ui\
			ui/dbconfig.ui\
			ui/query.ui
			
QMAKE_LIBDIR += ./lib

LIBS += -lAT_RF_READER

RESOURCES += xlstodb.qrc

UI_DIR = ./inc/

INCLUDEPATH += 	./inc

TRANSLATIONS += ./language/xlstodb_en.ts ./language/xlstodb_zh.ts

win32:debug{
	QT += winextras
	#CONFIG += console
}